PHP: strstr |
您所在的位置:网站首页 › php net › PHP: strstr |
haystack
输入字符串。 needlePrior to PHP 8.0.0, if needle is not a string, it is converted to an integer and applied as the ordinal value of a character. This behavior is deprecated as of PHP 7.3.0, and relying on it is highly discouraged. Depending on the intended behavior, the needle should either be explicitly cast to string, or an explicit call to chr() should be performed. before_needle若为 true,strstr() 将返回 needle 在 haystack 中的位置之前的部分。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |